<template>
  <div>
    <h5>详情列表</h5>
    <router-link to="/detail2/pic" tag="button">图片资料</router-link>
    <router-link to="/detail2/video" tag="button">视频资料</router-link>

    <!-- 用来展示当前路由对应的组件 -->
    <router-view />
  </div>
</template>
<script>
// 默认导出
export default {};
</script>
<style scoped>
H5 {
  color: green;
}
</style>